

<div class="top-bar cl">
    <h5 class="nav-title">邮件设置</h5>
</div>
<div class="imain">
    <form method="post" action="/admin/email/edit" class="userform">
        @csrf
        <div class="form-group">
            <label for="exampleInputEmail1">smtp</label>
            <input type="text" name="mail_host" class="form-control" value="{{env('MAIL_HOST')}}">
        </div>
        <div class="form-group">
            <label for="exampleInputEmail1">端口</label>
            <input type="text" name="mail_port" class="form-control" value="{{env('MAIL_PORT')}}">
        </div>
        <div class="form-group">
            <label for="exampleInputEmail1">账号</label>
            <input type="text" name="mail_username" class="form-control" value="{{env('MAIL_USERNAME')}}">
        </div>
        <div class="form-group">
            <label for="exampleInputEmail1">密码</label>
            <input type="text" name="mail_password" class="form-control" value="{{env('MAIL_PASSWORD')}}">
        </div>
        <div class="form-group">
            <label for="exampleInputEmail1">加密方式</label>
            <input type="text" name="mail_encryption" class="form-control" value="{{env('MAIL_ENCRYPTION')}}">
        </div>
        <div class="form-group">
            <label for="exampleInputEmail1">显示邮箱地址(建议和账号一样)</label>
            <input type="text" name="mail_from_address" class="form-control" value="{{env('MAIL_FROM_ADDRESS')}}">
        </div>
        <div class="form-group">
            <label for="exampleInputEmail1">显示邮箱用户名</label>
            <input type="text" name="mail_from_name" class="form-control" value="{{env('MAIL_FROM_NAME')}}">
        </div>
        <button class="btn btn-primary" type="submit">保存</button>
    </form>
</div>

